//-----------------------------------------------------------------------------------
#ifndef __CMYRADIOBUTTONPLUGIN_H__
#define __CMYRADIOBUTTONPLUGIN_H__
//-----------------------------------------------------------------------------------
#include <QDesignerCustomWidgetInterface>
#include <QtPlugin>
#include <QIcon>
#include "CMyRadioButton.h"
//-----------------------------------------------------------------------------------
class CMyRadioButtonPlugin : public QObject, public QDesignerCustomWidgetInterface
{
	Q_OBJECT
	Q_INTERFACES(QDesignerCustomWidgetInterface)
	public:
		CMyRadioButtonPlugin(QObject *parent = 0);
		bool isContainer() const { return false; }
		bool isInitialized() const { return initialized; }
		QIcon icon() const { return QIcon(); }
		QString domXml() const;
		QString group() const { return "MyControls"; }
		QString includeFile() const { return "CMyRadioButton.h"; }
		QString name() const { return "CMyRadioButton"; }
		QString toolTip() const { return ""; }
		QString whatsThis() const { return ""; }
		QWidget *createWidget(QWidget *parent);
		void initialize(QDesignerFormEditorInterface *core);

	private:
		bool initialized;
};
//-----------------------------------------------------------------------------------
#endif //__CMYRADIOBUTTONPLUGIN_H__
//-----------------------------------------------------------------------------------
